package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购组织对象 purchase_organizations
 * 
 * @author ruoyi
 * @date 2024-08-13
 */
public class PurchaseOrganizations extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采购组织ID */
    private Long poId;

    /** 采购组织 */
    @Excel(name = "采购组织")
    private String organization;

    /** 采购组织简称 */
    @Excel(name = "采购组织简称")
    private String poAbbreviation;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date poCreate;

    public void setPoId(Long poId) 
    {
        this.poId = poId;
    }

    public Long getPoId() 
    {
        return poId;
    }
    public void setOrganization(String organization) 
    {
        this.organization = organization;
    }

    public String getOrganization() 
    {
        return organization;
    }
    public void setPoAbbreviation(String poAbbreviation) 
    {
        this.poAbbreviation = poAbbreviation;
    }

    public String getPoAbbreviation() 
    {
        return poAbbreviation;
    }
    public void setPoCreate(Date poCreate) 
    {
        this.poCreate = poCreate;
    }

    public Date getPoCreate() 
    {
        return poCreate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("poId", getPoId())
            .append("organization", getOrganization())
            .append("poAbbreviation", getPoAbbreviation())
            .append("poCreate", getPoCreate())
            .toString();
    }
}
